package cn.wolfcode.crm.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Setter@Getter
public class ClientTransfer {
    private Integer id;
    //客户对象
    private LatentClient latentClient;
    //移交操作的管理员
    private Employee transUser;
    //移交时间
    @JsonFormat(pattern = "yyyy-MM-dd", timezone="GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date transTime;
    //原市场专员
    private Employee oldSeller;
    //新市场专员
    private Employee newSeller;
    //移交原因
    private String transReason;
}
